using System;
using Dict.DataModel;
using Dict.Dao;

namespace Dict
{
    public class DictDataManager
    {
        public static int DictFileNum;

        private static DictDataManager instance = new DictDataManager();

        public static DictDataManager Instance
        {
            get
            {
                return instance;
            }
        }
        private DictDataManager() { }

        public string dataPath;

        public void Init(string dataPath)
        {
            this.dataPath = dataPath;
			table2dStoryDao.LoadData(dataPath);
			table3dStoryDao.LoadData(dataPath);
			tableActivityNewOpen7DayDao.LoadData(dataPath);
			tableAreaDao.LoadData(dataPath);
			tableBootHeroDao.LoadData(dataPath);
			tableBuffDao.LoadData(dataPath);
			tableBuffExplainationDao.LoadData(dataPath);
			tableBuffInfExtendDao.LoadData(dataPath);
			tableCookingMakeLevelupDao.LoadData(dataPath);
			tableCopyAirWallDao.LoadData(dataPath);
			tableCopyBoxDao.LoadData(dataPath);
			tableCopyChapterDao.LoadData(dataPath);
			tableCopyEnemyDao.LoadData(dataPath);
			tableCopyExpDao.LoadData(dataPath);
			tableCopyMissionDao.LoadData(dataPath);
			tableCopyTaskDao.LoadData(dataPath);
			tableDailyCopyDao.LoadData(dataPath);
			tableDailyCopyChapterDao.LoadData(dataPath);
			tableDailyCopyEnemyDao.LoadData(dataPath);
			tableDailyTaskRewardBoxDao.LoadData(dataPath);
			tableDemoHeroDao.LoadData(dataPath);
			tableEquipDao.LoadData(dataPath);
			tableEquipDecomposeDao.LoadData(dataPath);
			tableEquipEnhanceDao.LoadData(dataPath);
			tableEquipExpDao.LoadData(dataPath);
			tableEquipForgeOddsDao.LoadData(dataPath);
			tableEquipForgePropDao.LoadData(dataPath);
			tableEquipOutfitDao.LoadData(dataPath);
			tableEquipRefineDao.LoadData(dataPath);
			tableEquipRefineExpDao.LoadData(dataPath);
			tableEquipSkillDao.LoadData(dataPath);
			tableEveryoneBenefitDao.LoadData(dataPath);
			tableExpeditionLevelDao.LoadData(dataPath);
			tableExpeditionMissionDao.LoadData(dataPath);
			tableExpeditionStoryDao.LoadData(dataPath);
			tableFieldDao.LoadData(dataPath);
			tableFieldBossDao.LoadData(dataPath);
			tableFieldBossPosDao.LoadData(dataPath);
			tableFieldMonsterDao.LoadData(dataPath);
			tableFieldMonsterPosDao.LoadData(dataPath);
			tableFieldResourceDao.LoadData(dataPath);
			tableFieldResourcePosDao.LoadData(dataPath);
			tableFishSkillDao.LoadData(dataPath);
			tableFragDao.LoadData(dataPath);
			tableGemMakeLevelupDao.LoadData(dataPath);
			tableGenerateBundleParticleDao.LoadData(dataPath);
			tableGuideDao.LoadData(dataPath);
			tableGuideStepDao.LoadData(dataPath);
			tableHeroDao.LoadData(dataPath);
			tableHeroBreachedDao.LoadData(dataPath);
			tableHeroEmojiResDao.LoadData(dataPath);
			tableHeroExpDao.LoadData(dataPath);
			tableHeroGetDao.LoadData(dataPath);
			tableHeroInfoDao.LoadData(dataPath);
			tableHeroTrainingMaxMinDao.LoadData(dataPath);
			tableItemDao.LoadData(dataPath);
			tableItemGetDao.LoadData(dataPath);
			tableItemShopPriceDao.LoadData(dataPath);
			tableItemUseDao.LoadData(dataPath);
			tableKillerDao.LoadData(dataPath);
			tableLevelLimitDao.LoadData(dataPath);
			tableLuxuryEquipDao.LoadData(dataPath);
			tableMainHeroQualityDao.LoadData(dataPath);
			tableMineSkillDao.LoadData(dataPath);
			tableModuleDao.LoadData(dataPath);
			tableMonsterWeaponResDao.LoadData(dataPath);
			tableNavigationItemDao.LoadData(dataPath);
			tableNPCDao.LoadData(dataPath);
			tableOpenServerFundDao.LoadData(dataPath);
			tableParticleDao.LoadData(dataPath);
			tablePatrolDao.LoadData(dataPath);
			tablePaymentDao.LoadData(dataPath);
			tablePetDao.LoadData(dataPath);
			tablePetExpDao.LoadData(dataPath);
			tablePetIntimacyDao.LoadData(dataPath);
			tablePetTalentDao.LoadData(dataPath);
			tablePetTalentMaterialDao.LoadData(dataPath);
			tablePvpRankRewardDao.LoadData(dataPath);
			tableRecruitShowHeroDao.LoadData(dataPath);
			tableRushEliteBossDao.LoadData(dataPath);
			tableSceneDao.LoadData(dataPath);
			tableSkillDao.LoadData(dataPath);
			tableSkillCastDao.LoadData(dataPath);
			tableStoryDao.LoadData(dataPath);
			tableStoryDialogDao.LoadData(dataPath);
			tableStoryDialog2Dao.LoadData(dataPath);
			tableStoryDialogHeroDao.LoadData(dataPath);
			tableStoryQuestDao.LoadData(dataPath);
			tableStrengthenMasterDao.LoadData(dataPath);
			tableTalentDao.LoadData(dataPath);
			tableTalentAdvencedDao.LoadData(dataPath);
			tableTextDao.LoadData(dataPath);
			tableTipWordDao.LoadData(dataPath);
			tableTitleDao.LoadData(dataPath);
			tableTreasureDao.LoadData(dataPath);
			tableTreasureChestDao.LoadData(dataPath);
			tableTreasureRefineDao.LoadData(dataPath);
			tableTreasureRefineLevelDao.LoadData(dataPath);
			tableTreasureSkillDao.LoadData(dataPath);
			tableTreasureStrengthenDao.LoadData(dataPath);
			tableTreasureStrengthLevelExpDao.LoadData(dataPath);
			tableUltimateSkillDao.LoadData(dataPath);
			tableUnionConfigDao.LoadData(dataPath);
			tableUnionFightBaseCampDao.LoadData(dataPath);
			tableUnionFightBuffDao.LoadData(dataPath);
			tableUnionFightCariotDao.LoadData(dataPath);
			tableUnionFightFactoryDao.LoadData(dataPath);
			tableUnionFightGateDao.LoadData(dataPath);
			tableUnionFightGuardDao.LoadData(dataPath);
			tableUnionFightItemDao.LoadData(dataPath);
			tableUnionFightNpcDao.LoadData(dataPath);
			tableUnionFightRankRewardDao.LoadData(dataPath);
			tableUnionFightRankSpecialRewardDao.LoadData(dataPath);
			tableUnionFightResourceDao.LoadData(dataPath);
			tableUnionFightRevivePointDao.LoadData(dataPath);
			tableUnionFightTalkDao.LoadData(dataPath);
			tableUnionFightTowerDao.LoadData(dataPath);
			tableUnionFightTransferDao.LoadData(dataPath);
			tableUnionLogoDao.LoadData(dataPath);
			tableUnionTechDao.LoadData(dataPath);
			tableUserExpDao.LoadData(dataPath);
			tableVipPerksDao.LoadData(dataPath);
			tableWallDao.LoadData(dataPath);
			tableWantedDamageRankDao.LoadData(dataPath);
			tableWantedEnemyDao.LoadData(dataPath);
			tableWantedLevelDao.LoadData(dataPath);
			tableWantedPerformanceRankDao.LoadData(dataPath);
			tableWantedSpecialTimeDao.LoadData(dataPath);
			tableWantedTimeLimitDao.LoadData(dataPath);
			tableWeaponResDao.LoadData(dataPath);
			tableWorldBossDailyDao.LoadData(dataPath);
			tableWorldBossEnemyDao.LoadData(dataPath);
			tableWorldBossStrongholdDao.LoadData(dataPath);
			tableWorldBossStrongholdEffectDao.LoadData(dataPath);
			tableWorldBossStrongholdStyleDao.LoadData(dataPath);
			tableWorldSeedDao.LoadData(dataPath);
			tableYuanDao.LoadData(dataPath);
			tableGameConfigureDao.LoadData(dataPath);


        }

		public Table2dStoryDao table2dStoryDao = new Table2dStoryDao();
		public Table3dStoryDao table3dStoryDao = new Table3dStoryDao();
		public TableActivityNewOpen7DayDao tableActivityNewOpen7DayDao = new TableActivityNewOpen7DayDao();
		public TableAreaDao tableAreaDao = new TableAreaDao();
		public TableBootHeroDao tableBootHeroDao = new TableBootHeroDao();
		public TableBuffDao tableBuffDao = new TableBuffDao();
		public TableBuffExplainationDao tableBuffExplainationDao = new TableBuffExplainationDao();
		public TableBuffInfExtendDao tableBuffInfExtendDao = new TableBuffInfExtendDao();
		public TableCookingMakeLevelupDao tableCookingMakeLevelupDao = new TableCookingMakeLevelupDao();
		public TableCopyAirWallDao tableCopyAirWallDao = new TableCopyAirWallDao();
		public TableCopyBoxDao tableCopyBoxDao = new TableCopyBoxDao();
		public TableCopyChapterDao tableCopyChapterDao = new TableCopyChapterDao();
		public TableCopyEnemyDao tableCopyEnemyDao = new TableCopyEnemyDao();
		public TableCopyExpDao tableCopyExpDao = new TableCopyExpDao();
		public TableCopyMissionDao tableCopyMissionDao = new TableCopyMissionDao();
		public TableCopyTaskDao tableCopyTaskDao = new TableCopyTaskDao();
		public TableDailyCopyDao tableDailyCopyDao = new TableDailyCopyDao();
		public TableDailyCopyChapterDao tableDailyCopyChapterDao = new TableDailyCopyChapterDao();
		public TableDailyCopyEnemyDao tableDailyCopyEnemyDao = new TableDailyCopyEnemyDao();
		public TableDailyTaskRewardBoxDao tableDailyTaskRewardBoxDao = new TableDailyTaskRewardBoxDao();
		public TableDemoHeroDao tableDemoHeroDao = new TableDemoHeroDao();
		public TableEquipDao tableEquipDao = new TableEquipDao();
		public TableEquipDecomposeDao tableEquipDecomposeDao = new TableEquipDecomposeDao();
		public TableEquipEnhanceDao tableEquipEnhanceDao = new TableEquipEnhanceDao();
		public TableEquipExpDao tableEquipExpDao = new TableEquipExpDao();
		public TableEquipForgeOddsDao tableEquipForgeOddsDao = new TableEquipForgeOddsDao();
		public TableEquipForgePropDao tableEquipForgePropDao = new TableEquipForgePropDao();
		public TableEquipOutfitDao tableEquipOutfitDao = new TableEquipOutfitDao();
		public TableEquipRefineDao tableEquipRefineDao = new TableEquipRefineDao();
		public TableEquipRefineExpDao tableEquipRefineExpDao = new TableEquipRefineExpDao();
		public TableEquipSkillDao tableEquipSkillDao = new TableEquipSkillDao();
		public TableEveryoneBenefitDao tableEveryoneBenefitDao = new TableEveryoneBenefitDao();
		public TableExpeditionLevelDao tableExpeditionLevelDao = new TableExpeditionLevelDao();
		public TableExpeditionMissionDao tableExpeditionMissionDao = new TableExpeditionMissionDao();
		public TableExpeditionStoryDao tableExpeditionStoryDao = new TableExpeditionStoryDao();
		public TableFieldDao tableFieldDao = new TableFieldDao();
		public TableFieldBossDao tableFieldBossDao = new TableFieldBossDao();
		public TableFieldBossPosDao tableFieldBossPosDao = new TableFieldBossPosDao();
		public TableFieldMonsterDao tableFieldMonsterDao = new TableFieldMonsterDao();
		public TableFieldMonsterPosDao tableFieldMonsterPosDao = new TableFieldMonsterPosDao();
		public TableFieldResourceDao tableFieldResourceDao = new TableFieldResourceDao();
		public TableFieldResourcePosDao tableFieldResourcePosDao = new TableFieldResourcePosDao();
		public TableFishSkillDao tableFishSkillDao = new TableFishSkillDao();
		public TableFragDao tableFragDao = new TableFragDao();
		public TableGemMakeLevelupDao tableGemMakeLevelupDao = new TableGemMakeLevelupDao();
		public TableGenerateBundleParticleDao tableGenerateBundleParticleDao = new TableGenerateBundleParticleDao();
		public TableGuideDao tableGuideDao = new TableGuideDao();
		public TableGuideStepDao tableGuideStepDao = new TableGuideStepDao();
		public TableHeroDao tableHeroDao = new TableHeroDao();
		public TableHeroBreachedDao tableHeroBreachedDao = new TableHeroBreachedDao();
		public TableHeroEmojiResDao tableHeroEmojiResDao = new TableHeroEmojiResDao();
		public TableHeroExpDao tableHeroExpDao = new TableHeroExpDao();
		public TableHeroGetDao tableHeroGetDao = new TableHeroGetDao();
		public TableHeroInfoDao tableHeroInfoDao = new TableHeroInfoDao();
		public TableHeroTrainingMaxMinDao tableHeroTrainingMaxMinDao = new TableHeroTrainingMaxMinDao();
		public TableItemDao tableItemDao = new TableItemDao();
		public TableItemGetDao tableItemGetDao = new TableItemGetDao();
		public TableItemShopPriceDao tableItemShopPriceDao = new TableItemShopPriceDao();
		public TableItemUseDao tableItemUseDao = new TableItemUseDao();
		public TableKillerDao tableKillerDao = new TableKillerDao();
		public TableLevelLimitDao tableLevelLimitDao = new TableLevelLimitDao();
		public TableLuxuryEquipDao tableLuxuryEquipDao = new TableLuxuryEquipDao();
		public TableMainHeroQualityDao tableMainHeroQualityDao = new TableMainHeroQualityDao();
		public TableMineSkillDao tableMineSkillDao = new TableMineSkillDao();
		public TableModuleDao tableModuleDao = new TableModuleDao();
		public TableMonsterWeaponResDao tableMonsterWeaponResDao = new TableMonsterWeaponResDao();
		public TableNavigationItemDao tableNavigationItemDao = new TableNavigationItemDao();
		public TableNPCDao tableNPCDao = new TableNPCDao();
		public TableOpenServerFundDao tableOpenServerFundDao = new TableOpenServerFundDao();
		public TableParticleDao tableParticleDao = new TableParticleDao();
		public TablePatrolDao tablePatrolDao = new TablePatrolDao();
		public TablePaymentDao tablePaymentDao = new TablePaymentDao();
		public TablePetDao tablePetDao = new TablePetDao();
		public TablePetExpDao tablePetExpDao = new TablePetExpDao();
		public TablePetIntimacyDao tablePetIntimacyDao = new TablePetIntimacyDao();
		public TablePetTalentDao tablePetTalentDao = new TablePetTalentDao();
		public TablePetTalentMaterialDao tablePetTalentMaterialDao = new TablePetTalentMaterialDao();
		public TablePvpRankRewardDao tablePvpRankRewardDao = new TablePvpRankRewardDao();
		public TableRecruitShowHeroDao tableRecruitShowHeroDao = new TableRecruitShowHeroDao();
		public TableRushEliteBossDao tableRushEliteBossDao = new TableRushEliteBossDao();
		public TableSceneDao tableSceneDao = new TableSceneDao();
		public TableSkillDao tableSkillDao = new TableSkillDao();
		public TableSkillCastDao tableSkillCastDao = new TableSkillCastDao();
		public TableStoryDao tableStoryDao = new TableStoryDao();
		public TableStoryDialogDao tableStoryDialogDao = new TableStoryDialogDao();
		public TableStoryDialog2Dao tableStoryDialog2Dao = new TableStoryDialog2Dao();
		public TableStoryDialogHeroDao tableStoryDialogHeroDao = new TableStoryDialogHeroDao();
		public TableStoryQuestDao tableStoryQuestDao = new TableStoryQuestDao();
		public TableStrengthenMasterDao tableStrengthenMasterDao = new TableStrengthenMasterDao();
		public TableTalentDao tableTalentDao = new TableTalentDao();
		public TableTalentAdvencedDao tableTalentAdvencedDao = new TableTalentAdvencedDao();
		public TableTextDao tableTextDao = new TableTextDao();
		public TableTipWordDao tableTipWordDao = new TableTipWordDao();
		public TableTitleDao tableTitleDao = new TableTitleDao();
		public TableTreasureDao tableTreasureDao = new TableTreasureDao();
		public TableTreasureChestDao tableTreasureChestDao = new TableTreasureChestDao();
		public TableTreasureRefineDao tableTreasureRefineDao = new TableTreasureRefineDao();
		public TableTreasureRefineLevelDao tableTreasureRefineLevelDao = new TableTreasureRefineLevelDao();
		public TableTreasureSkillDao tableTreasureSkillDao = new TableTreasureSkillDao();
		public TableTreasureStrengthenDao tableTreasureStrengthenDao = new TableTreasureStrengthenDao();
		public TableTreasureStrengthLevelExpDao tableTreasureStrengthLevelExpDao = new TableTreasureStrengthLevelExpDao();
		public TableUltimateSkillDao tableUltimateSkillDao = new TableUltimateSkillDao();
		public TableUnionConfigDao tableUnionConfigDao = new TableUnionConfigDao();
		public TableUnionFightBaseCampDao tableUnionFightBaseCampDao = new TableUnionFightBaseCampDao();
		public TableUnionFightBuffDao tableUnionFightBuffDao = new TableUnionFightBuffDao();
		public TableUnionFightCariotDao tableUnionFightCariotDao = new TableUnionFightCariotDao();
		public TableUnionFightFactoryDao tableUnionFightFactoryDao = new TableUnionFightFactoryDao();
		public TableUnionFightGateDao tableUnionFightGateDao = new TableUnionFightGateDao();
		public TableUnionFightGuardDao tableUnionFightGuardDao = new TableUnionFightGuardDao();
		public TableUnionFightItemDao tableUnionFightItemDao = new TableUnionFightItemDao();
		public TableUnionFightNpcDao tableUnionFightNpcDao = new TableUnionFightNpcDao();
		public TableUnionFightRankRewardDao tableUnionFightRankRewardDao = new TableUnionFightRankRewardDao();
		public TableUnionFightRankSpecialRewardDao tableUnionFightRankSpecialRewardDao = new TableUnionFightRankSpecialRewardDao();
		public TableUnionFightResourceDao tableUnionFightResourceDao = new TableUnionFightResourceDao();
		public TableUnionFightRevivePointDao tableUnionFightRevivePointDao = new TableUnionFightRevivePointDao();
		public TableUnionFightTalkDao tableUnionFightTalkDao = new TableUnionFightTalkDao();
		public TableUnionFightTowerDao tableUnionFightTowerDao = new TableUnionFightTowerDao();
		public TableUnionFightTransferDao tableUnionFightTransferDao = new TableUnionFightTransferDao();
		public TableUnionLogoDao tableUnionLogoDao = new TableUnionLogoDao();
		public TableUnionTechDao tableUnionTechDao = new TableUnionTechDao();
		public TableUserExpDao tableUserExpDao = new TableUserExpDao();
		public TableVipPerksDao tableVipPerksDao = new TableVipPerksDao();
		public TableWallDao tableWallDao = new TableWallDao();
		public TableWantedDamageRankDao tableWantedDamageRankDao = new TableWantedDamageRankDao();
		public TableWantedEnemyDao tableWantedEnemyDao = new TableWantedEnemyDao();
		public TableWantedLevelDao tableWantedLevelDao = new TableWantedLevelDao();
		public TableWantedPerformanceRankDao tableWantedPerformanceRankDao = new TableWantedPerformanceRankDao();
		public TableWantedSpecialTimeDao tableWantedSpecialTimeDao = new TableWantedSpecialTimeDao();
		public TableWantedTimeLimitDao tableWantedTimeLimitDao = new TableWantedTimeLimitDao();
		public TableWeaponResDao tableWeaponResDao = new TableWeaponResDao();
		public TableWorldBossDailyDao tableWorldBossDailyDao = new TableWorldBossDailyDao();
		public TableWorldBossEnemyDao tableWorldBossEnemyDao = new TableWorldBossEnemyDao();
		public TableWorldBossStrongholdDao tableWorldBossStrongholdDao = new TableWorldBossStrongholdDao();
		public TableWorldBossStrongholdEffectDao tableWorldBossStrongholdEffectDao = new TableWorldBossStrongholdEffectDao();
		public TableWorldBossStrongholdStyleDao tableWorldBossStrongholdStyleDao = new TableWorldBossStrongholdStyleDao();
		public TableWorldSeedDao tableWorldSeedDao = new TableWorldSeedDao();
		public TableYuanDao tableYuanDao = new TableYuanDao();
		public TableGameConfigureDao tableGameConfigureDao = new TableGameConfigureDao();

    }
}